package com.ruoyi.cems.domain.dto;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 应急指挥部应急联络;
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
@Data
@ApiModel(description = "应急指挥部应急联络")
public class BmsEVCContactResponse implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("工号")
    private String jobNumber;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty("联系方式")
    private String tel;

    @ApiModelProperty("角色")
    private String roleName;

    //是否到岗
    @ApiModelProperty("是否到岗")
    private Integer duty;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("name", getName())
            .append("jobNumber", getJobNumber())
            .append("tel", getTel())
            .append("roleName",getRoleName())
            .append("duty", getDuty())
            .toString();
    }
}
